from selenium.webdriver.common.by import By
from frp_page_object.base_page import BasePage


class SalesOrderPage(BasePage):
    loc_add_button = (By.XPATH, '//*[contains(text(),"新 增")]')

    def click_add_button(self):
        self.click(self.loc_add_button)